# -*- coding:utf-8 -*-
# @Time: 2020/8/14 10:51
# @Author: liupengfei
# @File: serializers.py
from rest_framework import serializers
from apps.member.diary.models import Diary


class DiarySerializer(serializers.ModelSerializer):
    class Meta:
        model = Diary
        fields = '__all__'
